package com.wk.springbootlearn.pojo.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@ApiModel("登录参数")
@Data
public class LoginRequest {
    @ApiModelProperty(value = "用户名", required = true)
    @NotNull(message = "登录账号不能为空")
    private String loginAccount;
    @ApiModelProperty(value = "登录密码", required = true)
    @NotNull(message = "登录密码不能为空")
    private String loginPwd;
}
